import Vuex from 'vuex'
import { SOME_MUTATION } from './mutation-types'

const store = new Vuex.Store({
  state: {},
  mutations: {
    [SOME_MUTATION](state, payload) {
      console.log(payload);
      state.count += payload.amount;
    }
  }
})